<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
        <title>Untitled Page</title>
        <meta name="generator" content="WYSIWYG Web Builder 8 - http://www.wysiwygwebbuilder.com">
        <link rel="stylesheet" href="adminCss/WebBuilder.css" />
        <script type="text/javascript" src="adminScript/myAdminTableScript.js"></script>
        <script type="text/javascript" src="adminScript/myAdminScript.js"></script>
    </head>
    <body>
        <?php
        include("../utility/connection.php");
        include("../utility/general.php");
        include("../model/mToko.php");
        @session_start();
        
        $resInfoToko = fnInfoToko();
        $InfoToko = mysql_fetch_array($resInfoToko);
        $Nama = $InfoToko[0];
        $Alamat1 = $InfoToko[1];
        $Alamat2 = $InfoToko[2];
        $Kelurahan = $InfoToko[3];
        $Kecamatan = $InfoToko[4];
        $Kota = $InfoToko[5];
        $Propinsi = $InfoToko[6];
        $KodePos = $InfoToko[7];
        $Telp = $InfoToko[8];
        $Email = $InfoToko[9];
        $ContactPerson = $InfoToko[10];
        $Motto = $InfoToko[11];
        ?>
        <form name="formAdmin">
            <div id="wb_Text2" style="position:absolute;left:20px;top:80px;width:130px;height:16px;z-index:0;">
                <span style="color:#000000;font-family:Arial;font-size:13px;">Nama</span></div>
            <input type="text" id="Editbox1" style="position:absolute;left:160px;top:80px;width:248px;height:18px;line-height:18px;z-index:1;" 
                   name="Editbox1" value="<?php echo $Nama ?>">

            <div id="wb_Text1" style="position:absolute;left:20px;top:110px;width:130px;height:16px;z-index:2;">
                <span style="color:#000000;font-family:Arial;font-size:13px;">Alamat 1</span></div>
            <input type="text" id="Editbox2" style="position:absolute;left:160px;top:110px;width:248px;height:18px;line-height:18px;z-index:3;" 
                   name="Editbox2" value="<?php echo $Alamat1 ?>">

            <div id="wb_Text3" style="position:absolute;left:20px;top:140px;width:130px;height:16px;z-index:4;">
                <span style="color:#000000;font-family:Arial;font-size:13px;">Alamat 2</span></div>
            <input type="text" id="Editbox3" style="position:absolute;left:160px;top:140px;width:248px;height:18px;line-height:18px;z-index:5;" 
                   name="Editbox3" value="<?php echo $Alamat2 ?>">

            <div id="wb_Text4" style="position:absolute;left:20px;top:170px;width:130px;height:16px;z-index:6;">
                <span style="color:#000000;font-family:Arial;font-size:13px;">Kelurahan</span></div>
            <input type="text" id="Editbox4" style="position:absolute;left:160px;top:170px;width:248px;height:18px;line-height:18px;z-index:7;" 
                   name="Editbox4" value="<?php echo $Kelurahan ?>">

            <input type="submit" onclick="fnSimpanToko()" id="btSubmit" name="btSubmit" value="Submit" style="position:absolute;left:20px;top:450px;width:96px;height:25px;z-index:8;">
            <input type="reset" id="btBatal" name="btBatal" value="Batal" style="position:absolute;left:120px;top:450px;width:96px;height:25px;z-index:9;">
            
            <?php 
            $message = '';
            if (isset($_SESSION['message'])) {
                $message = $_SESSION['message'];
            }
            ?>
            <label style="position:absolute;left:20px;top:490px;width:600px;height:25px;z-index:27;">
                <?php echo $message ?>
            </label>
            
            <div id="wb_Text5" style="position:absolute;left:20px;top:200px;width:130px;height:16px;z-index:10;">
                <span style="color:#000000;font-family:Arial;font-size:13px;">Kecamatan</span></div>
            <input type="text" id="Editbox5" style="position:absolute;left:160px;top:200px;width:248px;height:18px;line-height:18px;z-index:11;" 
                   name="Editbox5" value="<?php echo $Kecamatan ?>">

            <div id="wb_Text6" style="position:absolute;left:20px;top:230px;width:130px;height:16px;z-index:12;">
                <span style="color:#000000;font-family:Arial;font-size:13px;">Kota</span></div>
            <input type="text" id="Editbox6" style="position:absolute;left:160px;top:230px;width:248px;height:18px;line-height:18px;z-index:13;" 
                   name="Editbox6" value="<?php echo $Kota ?>">

            <div id="wb_Text7" style="position:absolute;left:20px;top:260px;width:130px;height:16px;z-index:14;">
                <span style="color:#000000;font-family:Arial;font-size:13px;">Propinsi</span></div>
            <input type="text" id="Editbox7" style="position:absolute;left:160px;top:260px;width:248px;height:18px;line-height:18px;z-index:15;" 
                   name="Editbox7" value="<?php echo $Propinsi ?>">

            <div id="wb_Text8" style="position:absolute;left:20px;top:290px;width:130px;height:16px;z-index:16;">
                <span style="color:#000000;font-family:Arial;font-size:13px;">Kode Pos</span></div>
            <input type="text" id="Editbox8" style="position:absolute;left:160px;top:290px;width:248px;height:18px;line-height:18px;z-index:17;" 
                   name="Editbox8" value="<?php echo $KodePos ?>">

            <div id="wb_Text9" style="position:absolute;left:20px;top:320px;width:130px;height:16px;z-index:18;">
                <span style="color:#000000;font-family:Arial;font-size:13px;">Telepon</span></div>
            <input type="text" id="Editbox9" style="position:absolute;left:160px;top:320px;width:248px;height:18px;line-height:18px;z-index:19;" 
                   name="Editbox9" value="<?php echo $Telp ?>">

            <div id="wb_Text10" style="position:absolute;left:20px;top:350px;width:130px;height:16px;z-index:20;">
                <span style="color:#000000;font-family:Arial;font-size:13px;">Email</span></div>
            <input type="text" id="Editbox10" style="position:absolute;left:160px;top:350px;width:248px;height:18px;line-height:18px;z-index:21;" 
                   name="Editbox10" value="<?php echo $Email ?>">

            <div id="wb_Text11" style="position:absolute;left:20px;top:380px;width:130px;height:16px;z-index:22;">
                <span style="color:#000000;font-family:Arial;font-size:13px;">ContactPerson</span></div>
            <input type="text" id="Editbox11" style="position:absolute;left:160px;top:380px;width:248px;height:18px;line-height:18px;z-index:23;" 
                   name="Editbox11" value="<?php echo $ContactPerson ?>">

            <div id="wb_Text12" style="position:absolute;left:20px;top:410px;width:130px;height:16px;z-index:24;">
                <span style="color:#000000;font-family:Arial;font-size:13px;">Motto</span></div>
            <input type="text" id="Editbox12" style="position:absolute;left:160px;top:410px;width:248px;height:18px;line-height:18px;z-index:25;" 
                   name="Editbox12" value="<?php echo $Motto ?>">

            <div id="wb_Text13" style="position:absolute;left:20px;top:10px;width:500px;height:51px;z-index:26;">
                <span style="color:#000000;font-family:Arial;font-size:43px;"><strong>Administrasi Toko</strong></span></div>
        </form>
    </body>
</html>